There are actually a few tricks you may do with minimizing windows in OS X. In system preferences you can select either ‘genie’ or ’scale’ effect. But there is another one, called ’suck’. This one can’t be enabled via system preferences, but it can be via the terminal.
So open your terminal and type the following line:
defaults write com.apple.dock mineffect suck
Now close the terminal, log out and log back in, and voila – your windows … errr… well … ’suck’.
To return to ‘genie’ or ’scale’ simply go to the system preferences and select either, it will instantly change to the selected one.