Combining serveral trimming curves in NURBS

Hi everyone out there? Anyone has any ideas how i can do the following?

I need to trim several different circles out of a NURBS curve. How can I find the final trimming curve since openGL does not allow intersecting curves to be trimmed?