fix(scripts): concatenate scripts in a correct order

related to CAM-2682