For one you must use shielded wire and all of the shields will need to be connected together for example: from the computer to the potentiometer and then to the amp. Same basic configuration that's in computer speakers but just use the shielded wire.
If you need help i can draw you a layout, Email Me!
Kevin