The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
jQuery(document).ready(function(){
    jQuery('div.uploads .attach-more').click(
        function () {
            var box = jQuery(this).closest('div.uploads');
            var name = box.find('input[type=file]:first').attr('name');
            var cla = box.find('input[type=file]:first').attr('class');
            jQuery('<input type="file" name=' + name + '" class="' + cla + '" />').insertBefore(this);

            // actually, firefox doesn't really support "click" here
            box.find('input[type=file]:last').click();
            return false;
        } );
});