I would like to combine multiple images into one image using ImageMagick. To explain a little better, I want the result to look similar to this:

That is, I have a number of screen shots, and I want to turn them into one image with the original images on top of each other.
By Googling, I have come across the 'composite' command, but I don't know if, and in that case how to use it to get the result I want.