convert -append file1.jpg file2.jpg output.jpg
The above is all there is to it.
file1.jpg and file2.jpg are the ones to combine (the order is used) and output.jpg is the combined image.