There are several ways :
* Remove the amp chip and run its input pins to the output. A pair of capacitors will have to be removed too and there may be polarity swap necessary, with positive end toward the card and negative toward the output connector.
* Leave amp chip in place and simply remove output capacitors, while running a wire from input to the connector end. This will have worse performance since the amp chip is still drawing some power and there can be electrostatic coupling of its output to the new line output.
Removing the chip is the best way and if you don't intend to keep it you can just cut it off, no PITA chip desoldering process necessary.