Which version of OS X are we talking about? You could try going to "Dock" in your System Preferences and uncheck “Double-click a window’s title bar to minimize”. This should be disabled by default in 10.9 and later.
But even after enabling that (in 10.10 Yosemite), I see no way to reproduce the behavior you're describing. By 'too quickly' you mean a double-click right?