This is related to the quality of the cable:
NOTE on RS-232 Serial Cables
"At lower peripheral speeds of up to 9600 baud,serial interfaces can usually operate over cables up to 50 feet long. Use of special high quality cable may in some cases allow this limit to be extended to as much as 150 feet."
http://www.connectworld.net/cable-length.html