Unfortunately the paste thingie is truncating big texts.
I was able to increase the limit the paste can have to 16 MB by executing the following SQL command:
ALTER TABLE `paste` CHANGE `code` `code` MEDIUMTEXT; ALTER TABLE `paste` CHANGE `codecss` `codecss` MEDIUMTEXT;

(where 'paste' is the table name)

Perhaps somebody else finds this useful :)