Disable image preview in panel for certain filetype (gif)

If I upload some animated gifs in the panel the whole interface gets laggy.
It seams that imagemagick needs a lot cpu for processing the gifs for the preview image

I can disable the preview in the blueprint, but thats for all images,
Is there a way to disable the preview only for gifs?