The common minification options have a preserve option, commonly something like:
/*! Preserve comments that have ! after the open comment */
or
/* @preserve this comment marked with at-preserve */
Basically check the docs of your minifier to see which one it requires.
The other thing to do is bundle the minified version supplied by the upstream project - they often have minimal comments with preservation syntax. jQuery does this - the license block is different in jquery.js and jquery.min.js.