Logical OR in piwik goal creation

I need to trigger a goal when a user visits a url OR downloades a file matching certain pattern .

Is there a way to create a PIWIK goal based on logical OR expression ? Or do i need to resort to custom goal tracking script.

It’s not currently possible to create goals based on OR