After more discussion with the electrical people, they clarified that it wasn't the length of the cable that is the problem but more or less it was never suppose to have a cable that is not hard-wired in. Apparently the equipment was originally intended to be hard-wired but when it was brought to the lab, it had a switch added and a cable so it could be plugged in, which is apparently not against code but isn't the best way to do it. The new proposed solution is to replace the the cable with BX cable and hard-wire it to the panel, which I'm more satisfied with.
Thanks for the replies!