In addition to what has been said, combining outputs works differently than splitting an output. One output has the tendency to drive or load the other. That is one reason the result may sound terrible. In addition if the outputs can put out a lot of power, you can wreck something by not putting a load between them.
Some sound cards even have enough power to drive non-amplified speakers pretty well. Not a good idea to hook the output of them directly to another soundcard output.
A inexpensive thing people used to do to was to use resistors to isolate the two sources. I think resistors from 100 ohms to 1000 ohms should be OK. Join the two resistors and attach the amplified speaker where they are joined.
source 1---------470 ohms -----------\____________speaker
source 1---------470 ohms -----------/
To explain, hi fi outputs are low impedance, and they are intended to drive inputs that are high impedance. (Outputs to drive unamplified speakers are very, very low impedance) They do it that way (which is an impedance mismatch) to give you a very flat, extended frequency response. By joining two outputs directly together, you are forcing one to drive the low impedance of the other.
If you don't have any soldering experience, hardware stores have very small twist on wire caps ("wire nuts") or crimp-on splicers to join the connections, usually used in house wiring.