Performance Optimization of Just-in-Time Processes represented by Timed Event Graphs