PHP Timeout in "libs/JSMin.php
Changing JSmin.php works great, what also worked is changing max_execution_time = 30 in php.ini into max_execution_time = 90
Just a longer wait (without timeout ;) also does the job on selfoss 2.7
In case you're wondering where the php.ini is located on your RasPi, have a look here:
/etc/php5/apache2/php.ini